﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PSL.Package.System
{
    internal class PSL_GUI
    {
        /// <summary>
        /// Init String
        /// </summary>
        /// <param name="Host">Host</param>
        internal static void Init(PSLRuntime Host)
        {
            // GUI
            ///Host.AddMethod("mbox", PSL_GUI.PSL_MBox);
        }

        internal static dynamic PSL_MBox(string FunctionName, PSLParameter Parameter)
        {
            if (Parameter.ContainsParameter("text"))
            {
                MessageBox.Show(Parameter["text"].ToString());
            }

            return null;
        }
    }
}